<template>
  <div style="height: 100%">
    <!-- 面包屑导航区域 -->
    <el-breadcrumb separator-class="el-icon-arrow-right">
      <el-breadcrumb-item :to="{ path: '/home' }">首页</el-breadcrumb-item>
      <el-breadcrumb-item>{{ one }}</el-breadcrumb-item>
      <el-breadcrumb-item>{{ two }}</el-breadcrumb-item>
    </el-breadcrumb>
    <!-- 卡片区 -->
    <el-card style="height: calc(100% - 70px)">
      <slot></slot>
    </el-card>
  </div>
</template>
<script>
export default {
  props: ["one", "two"],
};
</script>
<style lang="less" scoped>
/deep/ .el-card__body {
  height: 100%;
}
</style>